using FreeSql.DataAnnotations;
using KrasDD.Attributes;

namespace KrasDD.Models
{
    [JsonObject(MemberSerialization.OptIn), Table(Name = "[innovator].[TEAM]", DisableSyncStructure = false)]
    [ItemType("3F83A1B4C5D6E7F8A9B0C1D2E3F4A5B7", "TEAM")]
    public partial class TEAM : AppBaseEntity
    {
        [JsonProperty, Column(StringLength = 128)]
        public string NAME { get; set; }

        [JsonProperty, Column(StringLength = 64)]
        public string DESCRIPTION { get; set; }

        #region 导航属性
        [Navigate("TEAM_ID")]
        public virtual List<TEAM_IDENTITY> TEAM_IDENTITIES { get; set; }
        #endregion
    }
}
